package com.steward.dao.card;

import org.springframework.stereotype.Repository;

import com.steward.model.card.Card;

@Repository
public interface CardMapper {
	int deleteByPrimaryKey(String id);

	int insert(Card record);

	Card selectByPrimaryKey(String id);

	int updateByPrimaryKeySelective(Card record);
	
	/**
	 * 通过cardNO查询相关的年卡数据
	 * @param cardNO
	 * @return
	 */
	Card queryCardInfoBycardNo(String cardNO);

}